﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;
using Model;

namespace ObserverLib
{
    interface IMessageCallback
    {
        [OperationContract(IsOneWay = true)]
        void PalaceAdded(Palace palace);

        [OperationContract(IsOneWay = true)]
        void PalaceRemoved(Palace palace);

        [OperationContract(IsOneWay = true)]
        void PalaceActivity(Palace activity);


        [OperationContract(IsOneWay = true)]
        void PalaceBurglarAlert(InvasionAlert alert);
    }
}
